package com.ice.work.moment.crawler.service;

import com.honeybee.cloud.framework.base.exception.business.BaseBizException;
import com.ice.work.moment.facade.crawler.model.Comment;

import java.util.Collection;

/**
 * @Description 股票评论信息
 * @Author DELL
 * @Create 2019-05-05
 * @Since 1.0.0
 */
@SuppressWarnings("unused")
public interface ICommentService {
    /**
     * 保存信息
     *
     * @param comments
     * @return
     * @throws BaseBizException
     */
    Boolean saveOrUpdate(Collection<Comment> comments) throws BaseBizException;

    /**
     * 保存信息
     *
     * @param comment
     * @return
     * @throws BaseBizException
     */
    Boolean save(Comment comment) throws BaseBizException;

    /**
     * 保存信息
     *
     * @param comment
     * @return
     * @throws BaseBizException
     */
    Boolean saveOrUpdate(Comment comment) throws BaseBizException;
}
